package com.tarim.streetdance.model;

import com.tarim.streetdance.vo.Criteria;

import java.io.Serializable;
import java.util.Date;

public class PasswordRecord extends Criteria implements Serializable {
    private Long id;

    private Long userId;

    private String userCode;

    private String userName;

    private String passwordNew;

    private String passwordOld;

    private Date createTime;

    public PasswordRecord(Long id, Long userId, String userCode, String userName, String passwordNew, String passwordOld, Date createTime) {
        this.id = id;
        this.userId = userId;
        this.userCode = userCode;
        this.userName = userName;
        this.passwordNew = passwordNew;
        this.passwordOld = passwordOld;
        this.createTime = createTime;
    }

    public PasswordRecord() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode == null ? null : userCode.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getPasswordNew() {
        return passwordNew;
    }

    public void setPasswordNew(String passwordNew) {
        this.passwordNew = passwordNew == null ? null : passwordNew.trim();
    }

    public String getPasswordOld() {
        return passwordOld;
    }

    public void setPasswordOld(String passwordOld) {
        this.passwordOld = passwordOld == null ? null : passwordOld.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}